Skip to content

Conversation

@jonahgraham
Copy link
Contributor

@jonahgraham jonahgraham commented Nov 11, 2025

Add a compositor type build matrix entry for wayland, xwayland and x11.

There are a total of 6 combinations possible of GTK/compositor:

  • GTK3 x11 (uses Xvfb)
  • GTK3 Xwayland (uses xwayland under weston headless)
  • GTK3 wayland (uses weston headless)
  • GTK4 x11 (uses Xvfb)
  • GTK4 Xwayland (uses xwayland under weston headless)
  • GTK4 wayland (uses weston headless)

When using Xwayland, the GDK_BACKEND can be either x11 or wayland. For the other two cases the two need to match.

This commit enables 5 new configuration options to build, with "GTK3 x11 (uses Xvfb)" being the pre-existing one. It is expected a future commit will start limiting how many of these run for all PRs.

Part of #2714

In draft until dependent PR #2767 is merged.

@akurtakov
Copy link
Member

On most recent Ubuntu/Fedora/etc. distros users get Wayland session by default thus I would say that even on Gtk3 Wayland has become the most common setup.

@jonahgraham
Copy link
Contributor Author

I am open to whatever collection of backends/gtk versions. For now this PR tests as before plus GTK4 on wayland. We could enable all 6 - I don't want to overwhelm the number of builds that run if it isn't valuable enough.

@jonahgraham
Copy link
Contributor Author

@akurtakov I split out the question of which combinations to exclude to a future commit - this PR tests all of the valid combinations. Comment 0 and commit message updated.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 11, 2025

Test Results

  314 files  +196    314 suites  +196   34m 19s ⏱️ + 17m 53s
4 652 tests ±  0  4 614 ✅  -  21  17 💤 ±0  21 ❌ +21 
  762 runs  +424    755 ✅ +421   7 💤 +3   0 ❌ ± 0 

For more details on these failures, see this check.

Results for commit 1bf73d6. ± Comparison against base commit 8c5fcdd.

♻️ This comment has been updated with latest results.

Add a gtk build matrix entry for GTK3 and GTK4.

Included is a little bit of self-documenting of the dependencies to
build on Linux.

Part of eclipse-platform#2714
Add a compositor type build matrix entry for wayland, xwayland and x11.

There are a total of 6 combinations possible of GTK/compositor:

- GTK3 x11 (uses Xvfb)
- GTK3 Xwayland (uses xwayland under weston headless)
- GTK3 wayland (uses weston headless)
- GTK4 x11 (uses Xvfb)
- GTK4 Xwayland (uses xwayland under weston headless)
- GTK4 wayland (uses weston headless)

When using Xwayland, the GDK_BACKEND can be either x11 or wayland.
For the other two cases the two need to match.

This commit enables 5 new configuration options to build, with
"GTK3 x11 (uses Xvfb)" being the pre-existing one. It is expected
a future commit will start limiting how many of these run for
all PRs.

Part of eclipse-platform#2714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants